﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BDPAutodetect.Models
{
    /// <summary>
    /// 基础用户数据表
    /// </summary>
    public class TBasicUser : TBasic
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleID { get; set; }
        /// <summary>
        /// 别称
        /// </summary>
        public string NameNick { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 冻结状态(默认0非冻结状态，1冻结状态)
        /// </summary>
        public int Freezed { get; set; }
        /// <summary>
        /// 登录状态(默认0非登录状态，1登录状态)
        /// </summary>
        public int Logined { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        public TBasicUser() : base()
        {
            this.NameNick = string.Empty;
            this.Password = string.Empty;
        }
    }
}
